<div [@routerTransition]>
    <!-- <div class="m-subheader">
        <div class="d-flex align-items-center">
            <div class="mr-auto col-xs-6">
                <h3 class="m-subheader__title">
                    <span>年度车间投入明细</span>
                </h3>
            </div>
        </div>
    </div> -->
    <div class="m-content">
        <div class="m-portlet m-portlet--mobile">
            <div class="m-portlet__body">
                <div class="row" style="color: #097e98; font-weight: 700; font-size: 17px;">
                    <div class="col-6">天津年度成本投入明细表</div>
                    <div class="col-6 text-right">单位：万元</div>
                </div>
                <table class="table" border="0">
                    <thead>
                        <tr>
                            <th>项目</th>
                            <th>{{ currentYear }} 年</th>
                            <th>{{ currentYear - 1 }} 年</th>
                            <th>增减金额</th>
                            <th>增减百分比(％)</th>
                            <th>{{ currentYear }}年占比(％)</th>
                            <th>{{ currentYear - 1 }}年占比(％)</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr *ngFor="let row of tableData">
                            <th scope="row">{{ row.costType }}</th>
                            <td>{{ row.currentYearCost }}</td>
                            <td>{{ row.lastYearCost }}</td>
                            <td>{{ row.differCost }}</td>
                            <td>{{ row.differPercentage }}</td>
                            <td>{{ row.currentYearPercentage }}</td>
                            <td>{{ row.lastYearPercentage }}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <div class="m-portlet m-portlet--mobile">
            <div class="m-portlet__body">
                <div id="c1"></div>
            </div>
        </div>
    </div>
</div>
